package main.java.com.chankudo.network;

import java.io.IOException;

public class TestTcp {
    public static void main(String[] args) {
        int port = 9654;

        try {
            SimpleTcpServer server;
            server = new SimpleTcpServer(port);
            ///server.setDaemon(true);
            server.start();        

            SimpleTcpClient client = new SimpleTcpClient(port);
            client.waitAndSend();

        } catch (IOException e) {
            // 
            e.printStackTrace();
            return;
        }
        

    }
}
